package com.demo.Service;

import com.demo.DemoApplicationTests;
import com.demo.model.nengxiaoyujing.nengxiaoyujingQ.nengxiaoyujingQ;
import com.demo.service.nengxiaoyujing.nengxiaoyujingService;
import com.demo.tool.paging;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;

import java.text.ParseException;

public class nxyjService extends DemoApplicationTests {

    @Autowired
    private com.demo.service.nengxiaoyujing.nengxiaoyujingService nengxiaoyujingService;

    @Test
    public void count() throws ParseException {
        System.out.println("运行");
        nengxiaoyujingQ nengxiaoyujingQ=new nengxiaoyujingQ();
//        nengxiaoyujingQ.setPointName("测试");
        nengxiaoyujingQ.setCheckpointAddress("地址");
        paging i=nengxiaoyujingService.findAllpaging(1,5,nengxiaoyujingQ);
        System.out.println(i);
    }
}
